﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SajuCsTest
{
    public sealed class Settings
    {
        //Hold an instance of the class
        private static Settings instance = null;

        //A sample setting
        private string connectionString;

        private Settings() {}

        public static Settings Instance {
            get {
                if (instance == null) {
                    instance = new Settings();
                }
                return instance;
            }
        }

        public string ConnectionString {
            get {
                return connectionString;
            }
            set {
                connectionString = value;
            }
        }
    }
}
